org.zkoss.bind.defaultComposer.class

From Documentation


org.zkoss.bind.defaultComposer.class


Property: org.zkoss.bind.defaultComposer.class

Applicable:
Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-cross-icon.png not as <custom-attribute>
Default: org.zkoss.bind.BindComposer

Since 10.0.0

Auto apply the composer when a component setting "viewModel" without "apply".

For example:

<div viewModel="org.zkoss.TestViewModel" >
    <!-- other components -->
</div>

If the library property is set (ex. "org.zkoss.TestBindComposer") , the above ZUL is equivalent to:

<div apply="org.zkoss.TestBindComposer" viewModel="org.zkoss.TestViewModel" >
    <!-- other components -->
</div>



Last Update : 2022/05/13

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.